package com.lingnan.service;


import cn.dev33.satoken.stp.SaTokenInfo;

import java.util.List;

/**
 * 用户领域service
 *
 * @author: ChickenWing
 * @date: 2023/11/1
 */
public interface AuthUserService {

    /**
     * 注册
     */
   /* Boolean register(AuthUser authUserBO,String role);

    *//**
     * 更新用户信息
     *//*
    Boolean update(AuthUser authUserBO);

    *//**
     * 更新用户信息
     *//*
    Boolean delete(AuthUser authUserBO);*/

    SaTokenInfo doLogin(String validCode,String role);

    SaTokenInfo emailDoLogin(String email, String code);

    SaTokenInfo adminDoLogin(String username, String password);


/*    AuthUser getUserInfo(AuthUser authUserBO);

    List<AuthUser> listUserInfoByIds(List<String> ids);*/
}

